﻿using SharedContracts.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using TalentDesk.Contracts.Ef;
using TalentDesk.Contracts.ServiceContracts;
using TalentDesk.WcfService.EFQueries;

namespace TalentDesk.WcfService.Implementation
{
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
    internal class CacheService : ProjectBaseClass, ICacheService
    {


     
        public List<ProjectType> GetProjectTypes()
        {
            return GetCacheItem<ProjectType>("CacheProjectTypes");
        }
    }
}
